package graph.net.commands;

/**
 * @author amahmood 
 * Names of all command that this system can understand.
 */
public enum CommandName
{
    shutdown("shutdown"), exit("exit"), bye("bye"), quit("quit"), login("login"), logout("logout"), help("help"), 
    add_route("add_route"), find_shortest_path_length("find_shortest_path_length"), find_all_paths_less_then_distance("find_all_paths_less_then_distance"), 
    find_paths_with_max_stops("find_paths_with_max_stops"), find_paths_with_exact_stops("find_paths_with_exact_stops"), 
    find_distance("find_distance"), add_test_data("add_test_data"), run_graph_tests("run_graph_tests");

    private final String label;

    /**
     * @param newLabel
     */
    CommandName(String newLabel)
    {
        this.label = newLabel;
    }

    /**
     * @return
     */
    public String label()
    {
        return this.label;
    }
}
